<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="resource/js/vue.js"></script>
</head>
<body>
<div id="app">
    <!--<span>Multiline message is:</span>-->
    <!--<p>{{message}}</p>-->
    <!--<br>-->
    <!--<textarea v-model="message"></textarea>-->


    <span>Multiline message is:</span>
    <p style="white-space: pre">{{ message }}</p>
    <br>
    <textarea v-model="message" placeholder="add multiple lines"></textarea>
</div>
<script>
    var vue = new Vue({
        el: '#app',
        data: {
            message:''
        }
    })
</script>
</body>
</html>

